package cn.foolishbird.crow.mybatis.plus.dto;

import cn.foolishbird.crow.core.IdObject;
import cn.foolishbird.crow.core.LongIdObject;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * @author foolishbird
 * @version 1.0
 * @date 2022/7/12 21:04
 */
public class CrowDTO implements IdObject<Long>, Serializable {

    private static final long serialVersionUID = -8719872138777289672L;

    /**
     * 主键
     */
    @ApiModelProperty("主键")
    protected Long id;

    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    protected Long createTime;

    /**
     * 创建者
     */
    @ApiModelProperty("创建者")
    protected Long createBy;

    /**
     * 修改时间
     */
    @ApiModelProperty("修改时间")
    protected Long updateTime;

    /**
     * 修改者
     */
    @ApiModelProperty("修改者")
    protected Long updateBy;

    @Override
    public Long id() {
        return this.id;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Long getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    public Long getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(Long updateBy) {
        this.updateBy = updateBy;
    }
}
